<?php

namespace Database\Factories;

use App\Models\Activity;
use App\Models\Admin;
use App\Models\Blind;
use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\BlindActivity>
 */
class BlindActivityFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array<string, mixed>
     */
    public function definition(): array
    {
        return [
            'admin_id' => Admin::inRandomOrder()->first()->id,
            'blind_id' => Blind::inRandomOrder()->first()->id,
            'activitie_id' => Activity::inRandomOrder()->first()->id,
            'activity_price' => fake()->randomFloat(2, 0, 100),
        ];
    }
}
